package com.endbd.systemmanagement.dao.dept;

import com.endbd.feignapi.model.system.Dept;
import com.endbd.systemmanagement.model.DeptCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptDao {

  List<Dept> getDeptList();

  List<Dept> getDeptInfoList(DeptCondition deptCondition);

  int queryId(Integer id);

  int queryName(String deptName);

  int createDept(Dept dept);

  int zhuxiao(int id, String state);

  Dept getDept(Integer id);

  int updateDept(Dept dept);
}
